FROM ubuntu
MAINTAINER yuxinhai <yuxinhai@163.com>
LABEL description="ubuntu,aliyun.source,jre8"

ADD aliyun.source /etc/apt/sources.list
ADD jdk1.8.0_241 /opt/jdk1.8.0_241
ADD Shanghai /usr/share/zoneinfo/Asia/Shanghai

ENV JAVA_HOME /opt/jdk1.8.0_241
ENV PATH $PATH:$JAVA_HOME/bin:
ENV TZ "Asia/Shanghai"


RUN echo "${TZ}" > /etc/timezone \
    && ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime

VOLUME /data
EXPOSE 80
